package com.gu.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * The table 通知公告表
 */
public class NoticeDO{

    /**
     * id id.
     */
    private Integer id;
    /**
     * title 文章标题.
     */
    private String title;
    /**
     * content 文章内容.
     */
    private String content;
    /**
     * contentPicturePath 通知/公告图片地址.
     */
    private String contentPicturePath;
    /**
     * createTime 创建时间.
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    /**
     * updateTime 最后一次修改时间.
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;

    /**
     * Set id id.
     */
    public void setId(Integer id){
        this.id = id;
    }

    /**
     * Get id id.
     *
     * @return the string
     */
    public Integer getId(){
        return id;
    }

    /**
     * Set title 文章标题.
     */
    public void setTitle(String title){
        this.title = title;
    }

    /**
     * Get title 文章标题.
     *
     * @return the string
     */
    public String getTitle(){
        return title;
    }

    /**
     * Set content 文章内容.
     */
    public void setContent(String content){
        this.content = content;
    }

    /**
     * Get content 文章内容.
     *
     * @return the string
     */
    public String getContent(){
        return content;
    }

    /**
     * Set contentPicturePath 通知/公告图片地址.
     */
    public void setContentPicturePath(String contentPicturePath){
        this.contentPicturePath = contentPicturePath;
    }

    /**
     * Get contentPicturePath 通知/公告图片地址.
     *
     * @return the string
     */
    public String getContentPicturePath(){
        return contentPicturePath;
    }

    /**
     * Set createTime 创建时间.
     */
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }

    /**
     * Get createTime 创建时间.
     *
     * @return the string
     */
    public Date getCreateTime(){
        return createTime;
    }

    /**
     * Set updateTime 最后一次修改时间.
     */
    public void setUpdateTime(Date updateTime){
        this.updateTime = updateTime;
    }

    /**
     * Get updateTime 最后一次修改时间.
     *
     * @return the string
     */
    public Date getUpdateTime(){
        return updateTime;
    }
}
